﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CID.Support.Exceptions;
using CID.Domain.Infrastructure;

namespace CID.Domain.Exceptions
{
    [Serializable]
    class InvalidParameterValueTypeException : DomainException
    {
        public InvalidParameterValueTypeException(ParameterType expectedType, ParameterType actualType) 
            : base(String.Format("You can't assign a {1} value to a {0} paramater", expectedType, actualType)) { } 
    }
}
